import os
path = os.path
from importlib import import_module, util
from datetime import datetime
sn = import_module('switch_network')
printer = import_module("printer").IndentPrinter(indent=1)


data_path = os.environ['DATA_PATH']

def main():

    printer("[刷新数据] 开始")
    refresh_pq = import_module("refresh_pq")
    refresh_pq.main(
        file_path=path.join(data_path, r"投诉类指标\投诉类指标.xlsx")
    )
    printer.add(-1)
    printer("[刷新数据] 👏 完成，总耗时<run_time>。", run_time="hh:mm:ss")


if __name__ == "__main__":
    main()
